package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货运服务对象 car_service
 * 
 * @author ruoyi
 * @date 2021-06-17
 */
public class CarService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long carId;

    /** 搬运车名字 */
    @Excel(name = "搬运车名字")
    private String carName;

    /** 出发点 */
    @Excel(name = "出发点")
    private String carStartaddress;

    /** 终点 */
    @Excel(name = "终点")
    private String carEndaddress;

    /** 生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "生成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date carCreattime;

    /** 预计到达时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预计到达时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date carArrivaltime;


    /** state */
    @Excel(name = "用户姓名")
    private Integer carState;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** id */
    @Excel(name = "id")
    private Integer carUserId;

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public void setCarStartaddress(String carStartaddress)
    {
        this.carStartaddress = carStartaddress;
    }

    public String getCarStartaddress() 
    {
        return carStartaddress;
    }
    public void setCarEndaddress(String carEndaddress) 
    {
        this.carEndaddress = carEndaddress;
    }

    public String getCarEndaddress() 
    {
        return carEndaddress;
    }
    public void setCarCreattime(Date carCreattime)
    {
        this.carCreattime = carCreattime;
    }

    public Date getCarCreattime()
    {
        return carCreattime;
    }
    public void setCarArrivaltime(Date carArrivaltime)
    {
        this.carArrivaltime = carArrivaltime;
    }

    public Date getCarArrivaltime() 
    {
        return carArrivaltime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getCarState() {
        return carState;
    }

    public void setCarState(Integer carState) {
        this.carState = carState;
    }

    public Integer getCarUserId() {
        return carUserId;
    }

    public void setCarUserId(Integer carUserId) {
        this.carUserId = carUserId;
    }

    @Override
    public String toString() {
        return "CarService{" +
                "carId=" + carId +
                ", carName=" + carName +
                ", carStartaddress='" + carStartaddress + '\'' +
                ", carEndaddress='" + carEndaddress + '\'' +
                ", carCreattime=" + carCreattime +
                ", carArrivaltime=" + carArrivaltime +
                ", carState=" + carState +
                ", userName='" + userName + '\'' +
                ", carUserId=" + carUserId +
                '}';
    }
}
